<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>

<div style="margin:20px 0;"></div>

<div>
    <p><span style="font-size:24px">您好，您有如下待办任务</span></p>
</div>

<div>
    <p><span>会员审核待办任务</span><a href="javascript:;" onclick="clickNode('实名认证待办业务')" style="text-decoration:none;">${memberReviewNum}</a><span>条</span></p>
</div>

<div>
    <p><span>结算信息变更审核待办任务</span><a href="javascript:;" onclick="clickNode('结算信息变更待办任务')" style="text-decoration:none;">${accInfoChangeReviewNum}</a><span>条</span></p>
</div>
<script type="text/javascript">
	function clickNode(menuName){
		var treeObj = parent.$.fn.zTree.getZTreeObj("treeDemo");
		var node = treeObj.getNodeByParam("name", menuName, null);
		
		if(node.url.indexOf("?") != -1){
			node.url += "&menuCode=" + node.id;
		}else{
			node.url += "?menuCode=" + node.id;
		}
		
		treeObj.selectNode(node);
		
		parent.addTab(node.name, "${pageContext.request.contextPath}/" + node.url);
	}
</script>
